package cn.yunyichina.provider.base.vo;

import cn.yunyichina.provider.framework.annotation.validate.AnnotationValidable;
import cn.yunyichina.provider.framework.annotation.validate.ValidateNotNullAndNotEmpty;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by 15-AK on 2017/8/15.
 */
@Getter
@Setter
public class CreatePersonalCardRequestVo implements AnnotationValidable {
//    入参：(绑卡类型：建档或者患者查询 1,0)、
//    Appid ,openid,userid、绑卡来源 、
//    hospitalCode、relationType关系、
//    证件号码、证件类型、姓名、性别、手机号码、
//    出生日期、年龄、患者类型、卡号、卡类型、如果为儿童 增加监护人的基本信息
 /* 医院编码 */
    /**bindCardType =1 为建档，0 为患者信息查询**/
    @ValidateNotNullAndNotEmpty
    private Integer bindCardType;
    @ValidateNotNullAndNotEmpty
    private String hospitalCode;
    private String branchCode;
    private String branchId;
    private String branchName;
    @ValidateNotNullAndNotEmpty
    private String userId;
    private Short ownership;
    private String appId;
    @ValidateNotNullAndNotEmpty
    private String openId;
    private String appCode;
    private String patName;
    private Short patSex;
    private Short patIdType;
    private String patIdNo;
    private Integer patAge;
    private String patBirth;
    private String patMobile;
    private String patAddress;
    private String hisPatId;
    private Short patCardType;
    private String patCardNo;
    /*用户类型              1-成人（默认）              2-儿童*/
    private Short patType;
    private String guardId;
    private String guardName;
    private Short guardIdCardType;
    private String guardAddress;
    private String guardIdCardNo;
    private String guardMobile;
    private Short platformType;
    private String familyId;
    //推广人员手机号码
    private String inviteCode;
    //电脑号
    private String computeNo ;
    //是否是医保卡
    private Short isInsurance;

    private String insuranceLoginName;
    private String insurancePassword;


}
